﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.VR.Model
{
    /// <summary>
    ///  规格列表
    /// </summary>
    public class SpecResultList
    {
        /// <summary>
        ///  规格id
        /// </summary>
        public int specID { get; set; }
        /// <summary>
        ///  规格名称
        /// </summary>
        public string specName { get; set; }
        /// <summary>
        ///  是否影响价格
        /// </summary>
        public bool specMoney { get; set; }
        /// <summary>
        ///  类型
        /// </summary>
        public string specType { get; set; }
        /// <summary>
        ///  子表名称逗号隔开
        /// </summary>
        public string specOptionName { get; set; }
        /// <summary>
        ///  子表图片地址逗号隔开
        /// </summary>
        public string specOptionPic { get; set; }
        /// <summary>
        ///  子表主键id逗号隔开
        /// </summary>
        public string specOptionId { get; set; }
        /// <summary>
        ///  子规格列表
        /// </summary>
        public List<SpecOptionList> specOptionList { get; set; }
    }
    /// <summary>
    ///  子表项目类型
    /// </summary>
    public class SpecOptionList
    {
        /// <summary>
        ///  子表id
        /// </summary>
        public int optionID { get; set; }
        /// <summary>
        ///  名称
        /// </summary>
        public string optionName { get; set; }
    }
}